<?php
require_once '../Smartdb.class.php';
require_once 'config.inc.php';
$db = SmartDB::init($sql_type);
$db->server = $sql_server;
$db->username = $sql_user;
$db->password = $sql_pw;
$db->database = $sql_dbname;
$db->persistent = $sql_persistent;
$db->trace = TRUE;
$db->encoding = 'UTF8';
$db->connect();
